package com.xude
{
	import core.display.Stage;
	
	import potato.ui.Button;
	import potato.ui.UIComponent;
	
	public class UIView extends UIComponent
	{
		private var _layer:UIComponent;
		private var add_btn:Button;
		
		public function UIView()
		{
			super();
			initView();
		}
		
		private function initView():void{
			_layer = new UIComponent();
//			_layer.width = 500;
//			_layer.height = 400;
			addChild(_layer);
			add_btn = new Button("common_btn_0","common_btn_1");
			add_btn.x = Stage.getStage().width - add_btn.width;
			addChild(add_btn);
		}
	}
}